package cn.ac.radi.userver.waste.entity;

import cn.ac.radi.userver.waste.constant.ResultStateConstant;
import cn.ac.radi.userver.waste.web.UWasteView;
import com.fasterxml.jackson.annotation.JsonView;

public class ModelRunResult {

    @JsonView(UWasteView.SimpleView.class)
    private String state = ResultStateConstant.UNKNOWN;
    @JsonView(UWasteView.SimpleView.class)
    private String url = "";
    @JsonView(UWasteView.SimpleView.class)
    private String error = "";

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }
}
